/**
* @file tsh.h
* Reindeer OS Tiny Shell - header file
* Small shell for basic interaction with OS and some basic buildin commands.
*
* Copyrights 2011 Michal Saman, m.saman@designplus.cz.
* This source code is release under the Apache License 2.0.
* http://www.apache.org/licenses/LICENSE-2.0
*/
#ifndef _TSH_H
#define _TSH_H

#include <stdint.h>
#include <drivers/kbrd/keyboard.h>

#define default_prompt 			"[root@reindeeros]$ "
/** Maximum length of command buffer */
#define max_len_com_buffer		255

struct Prompt_info {
	char prompt[255];
	int prompt_len;
};

extern prarse_prompt();

extern enum KEYCODE scan_keyboard();
extern void tiny_shell_help();
extern void tiny_shell_init();
extern bool tsh_exec();

#endif
